import base from "../config/baseConfig";

const User = {
    QueryAll(){
        return base({
            method:'get',
            url:'/core'
        })
    },
    Query(data){
        return base({
            method:'get',
            url:'/core/search',
            params:data
        })
    },
    Update(data){
        return base({
            method:'put',
            url:'/core',
            data:data
        })
    }
}

export default User